body {
  font-family: Arial, sans-serif;
  margin: 20px;
  overflow: hidden;
}
.h1-title {
  background: linear-gradient(to right, #34e89e, #008000);
  margin:0;
  padding: 10px;
  width: calc(100% - 30px)
}

.loading {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  color: #1888ff;
  font-weight: 700;
}
.chat-history {
  width: 100%;
  height: calc(100vh - 180px);
  /* padding: 0 10px; */
  padding-top: 15px;
  padding-bottom: 0px;
  padding-right:10px ;
  /* text-align: left; */
  overflow-y: auto;
}
.response {
  background-color: #eceef6;
  /* width: 80%; */
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #ddd;
  margin:0 50px 10px 20px;
  white-space: pre-wrap;
}
.userItem{
  display: flex;
  justify-content: flex-end;
  /* justify-content: flex-start;
  margin-right: 20%;
  background-color: #eff6ff;

  padding: 10px;
  border-radius: 5px;
  border: 1px solid #ddd;
  margin-bottom: 10px; */
}
.user-text {
 /* display: flex; */
 /* justify-content: flex-end; */
  /* margin-left: 20%; */
  background-color: #eff6ff;
  max-width: 80%;
  padding: 10px;
  border-radius: 5px;
  /* border: 1px solid #ddd; */
  margin-bottom: 10px;
  white-space: pre-wrap;
}
.img-container{
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-left: 10px;
  overflow: hidden; /*隐藏超出盒子的部分*/
  /* margin: 0 auto; 居中 */
  /* border: 2px solid #ccc; 可选：添加边框 */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* 阴影效果 */
}
/* 等比例缩放并覆盖盒子 */ 
/* .userlogo{
  width: 100%;
  height: 100%; 
  object-fit: cover;
} */
.footer-box{
  position: fixed;
  bottom: 0;
  display: flex;
  justify-content: space-between;
  width: calc(100vw - 80px);
  padding: 20px;
  border-radius: 10px;
  /* border: 1px solid green; */
  background-color: #eee;
  background: linear-gradient(to right, #008000, #34e89e);
}
/* input {
  flex: 1;
  width: calc(100% - 180px);
  padding: 8px;
  margin-right: 10px;
} */

button {
  padding: 6px 18px;
  margin-left: 10px;
}
a{
  color: #34e89e;
  }
a.active {
  color: pink;
  font-weight: 900;
}
